package com.caishi.lkx.user.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zzw.common.entity.impl.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * @author by keray
 * date:2021/4/6 10:42 上午
 * 用户存在多个身份时 可以存在多个用户名登录
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_advertisement")
@Schema(title = "广告")
public class AdvertisementModel extends BaseEntity<AdvertisementModel> {
    @Schema(title = "考试id")
    private  String examId;

    @Schema(title = "行业id")
    private  String industryId;

    @Schema(title = "考试名")
    @TableField(exist = false)
    private String examName;

    @Schema(title = "行业名")
    @TableField(exist = false)
    private String industryName;

    @Schema(title = "标题")
    private String title;

    @Schema(title = "排序")
    private Integer sort;

    @Schema(title = "0.无图、1.单图 、2.多图")
    private Integer pictureCount;

    @Schema(title = "简介")
    private String introduction;

    @Schema(title = "封面")
    private String cover;

    @Schema(title = "内容")
    private String content;

    @Schema(title = "0.不跳转 1.跳转文本 2.跳转链接")
    private Integer jumpType;

    @Schema(title = "跳转地址")
    private String jumpUrl;

    @Schema(title = "广告位id")
    private String positionCode;

    @Schema(title = "客户端 0.pc  1.app")
    private Integer clientType;

    @Schema(title = "创建人")
    @TableField(exist = false)
    private String createdName;

    @Schema(title = "平台id")
    private Long groupId;
}
